﻿using System;
using System.Collections.Generic;

using SBPweb.Communication.Shared.Library;
using SBPweb.Communication.Shared.Library.Contacts;
using SBPweb.Communication.Shared.Library.Profiles;
using SBPweb.Communication.Client.Library.Xmpp.Commands;

namespace SBPweb.Communication.Client.Library.Xmpp.Profiles
{

    partial class ProfileManager : ProfileManagerBase
    {

        #region Private fields

        #endregion

        #region Methods

        protected override void OnInitialize()
        {
        }

        protected override void OnTerminate()
        {
        }

        public override void RequestProfile(IContact contact, EventHandler<ProfileBaseEventArgs> responseHandler)
        {
            GetProfileCommand getpf = new GetProfileCommand(contact);
            messenger.Commands.SendCommand(getpf);
        }

        #endregion

    }

}